{{- with site.Menus.sidebar }}
    {{ partial "sidebar/render-section-menu.html" (dict "currentPage" $ "nodes" .) }}
{{- else }}
  {{- with (.Site.GetPage "section" .Section).Sections }}
    {{ partial "sidebar/render-section-menu.html" (dict "currentPage" $ "nodes" .) }}
  {{- end }}
{{- end }}
